import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

import 'lib-flexible'

import { Tabbar, TabbarItem, Icon } from 'vant';
Vue.use(Tabbar).use(TabbarItem).use(Icon);

import { Swipe, SwipeItem } from 'vant'
Vue.use(Swipe).use(SwipeItem);


import fastclick from 'fastclick'
fastclick.attach(document.body)

import { Card } from 'vant'
Vue.use(Card)

import { SwipeCell, Checkbox } from 'vant'
Vue.use(SwipeCell).use(Checkbox)


import { GoodsAction, GoodsActionIcon, GoodsActionButton } from 'vant';
Vue.use(GoodsAction).use(GoodsActionIcon).use(GoodsActionButton);

import { Sku } from 'vant';
Vue.use(Sku);

import { Stepper } from 'vant';
Vue.use(Stepper);

import { Button } from 'vant';
Vue.use(Button);

import { Divider } from 'vant';
Vue.use(Divider);

import { SubmitBar } from 'vant';
Vue.use(SubmitBar);

import { Field } from 'vant';
Vue.use(Field);

import { List, PullRefresh } from 'vant';
Vue.use(List).use(PullRefresh)

Vue.config.productionTip = false;

// 引入 全局 字体图标样式
import './assets/iconfont/iconfont.css'


new Vue({
    router,
    store,
    render: (h) => h(App),
}).$mount("#app");